#pragma once

#include <vector>
#include <list>
#include "loopable.h"

class Action;
class Case;

class Step : public loopable
{
public:
	Step(Case* parent);
	~Step(void);

	bool addAction(Action* action);

	bool delAction(int index);

	bool run(void* param);

	std::list<loopable *> getLoopable();

private:
	std::vector<Action *> m_actions;
	Case* parent_;
};
